import request from '@/utils/request'

// 查询合格证统计数据列表
export function listCertificate_count(query) {
  return request({
    url: '/certificate/certificate_count/list',
    method: 'get',
    params: query
  })
}

// 查询合格证统计数据详细
export function getCertificate_count(id) {
  return request({
    url: '/certificate/certificate_count/' + id,
    method: 'get'
  })
}

// 新增合格证统计数据
export function addCertificate_count(data) {
  return request({
    url: '/certificate/certificate_count',
    method: 'post',
    data: data
  })
}

// 修改合格证统计数据
export function updateCertificate_count(data) {
  return request({
    url: '/certificate/certificate_count',
    method: 'put',
    data: data
  })
}

// 删除合格证统计数据
export function delCertificate_count(id) {
  return request({
    url: '/certificate/certificate_count/' + id,
    method: 'delete'
  })
}
